package com.frejoys.common.dto.admin;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

/**
 * @author wangzhicheng
 * @version 1.0
 * @date 2024/4/19 14:41
 */
@Data
public class AdminLoginDto {

    @NotBlank(message = "{600}")
    @Schema(type = "String", name = "phone", description = "电话", required = true, defaultValue = "Lm9rg25BrkzYzx2Hl7TWVw==")
    private String phone;

    @NotBlank(message = "{600}")
    @Schema(type = "String", name = "password", description = "密码", required = false, defaultValue = "f1a7eaeb1e3188fa81f8d7e07909a392")
    private String password;
}
